
package com.shop.cloud.mall.api.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.cloud.mall.common.entity.UserGradeConfig;

/**
 * 用户等级配置
 *
 * @author
 * @date 2023-03-15 14:13:46
 */
public interface UserGradeConfigService extends IService<UserGradeConfig> {

	/**
	 * 通过等级获取配置，走缓存
	 * @param grade
	 * @return
	 */
	UserGradeConfig getByGrade(Integer grade);
}
